<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>一指赢商城</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <link type="text/css" href="http://400tcc.cn/WebApp/Home/View/Public/baofeng/css/public.css" rel="stylesheet" />
    <link href="http://400tcc.cn./Public/plugins/css/fonts/iconfont.css" rel="stylesheet" type="text/css" />
    <style>body { padding-bottom: 70px; }</style>
    <link type="text/css" href="http://400tcc.cn/WebApp/Home/View/Public/baofeng/css/user.css" rel="stylesheet" />
    <style>
        #mobilePhone a{
            color:#ffffff;
        }
        .layui-m-layerbtn span[yes]{
            color:#000000;
        }
        .form-control {
            width: 96%;
            padding: 6px 8px;
            font-size: 14px;
            line-height: 1.42857143;
            color: #000000;
            border: 1px solid #d2d6de;
        }
        label {
            display: inline-block;
            max-width: 100%;
            margin-bottom: 5px;
            font-weight: 700;
            float:left;
        }
        .touxiang-bu .touxiangimg {
            width: 80px;
            height: 80px;
            background: #fff;
            border-radius: 100%;
            margin: 0 auto;
            overflow: hidden;
        }
        .touxiang-bu .touxiangimg>img {
            width: 100%;
        }
        .uk-block-color {
            background:#00b3ee;
            height:200px;
            width:100%;
            padding-top:50px;
        }
        .touxiang-bu>span {
            display: block;
            text-align: center;
            line-height: 2.2em;
            font-size: 1.1em;
            margin-top:15px;
        }
        .touxiang-bu>span.income {
            margin-top: 0px;
            font-size: 2.6em;
            line-height: 1.2em;
        }
        .txt_right {
            float:right;
            margin-right:20px;
            color:#ee3c00;
            font-weight:bold;
        }
        .icon_right {
            float:right;
            color: #b9b9b9;
            font-size:1.4em;
        }
    </style>
</head>

<body>
<div class="loader">
    <div class="act">
        <div class="spinner">
            <div class="double-bounce1"></div>
            <div class="double-bounce2"></div>
        </div>
    </div>
    <div class="bg"></div>
</div>
<div class="touxiang-bu uk-block-color uk-block-default">
    <div class="touxiangimg">
        <?php if(empty($agent["photo_url"])): ?><img src="http://400tcc.cn/Public/images/null_photo.jpg">
            <?php else: ?>
            <img src="<?php echo ($agent["photo_url"]); ?>"><?php endif; ?>
    </div>
    <div style="float:left;width:48%;text-align:right;margin-top:15px;">
        <p style="color:#a60006">已结算收益</p>
        <p class="income"><?php echo (sprintf('%.2f',$agent['settlement_money'])); ?></p>
    </div>
    <div style="float:left;width:4%;text-align:center;margin-top:15px;">&nbsp;</div>
    <div style="float:left;width:48%;margin-top:15px;">
        <p style="color:#a60006">未结算收益</p>
        <p class="income"><?php echo (sprintf('%.2f',$agent['balance'])); ?></p>
    </div>
</div>
<ul class="btn_list uk-block-default" style="margin-top:0px;">
    <li><a href="http://400tcc.cn/agent/users" class="line"><i class="iconfont icon-kehu"></i>直属客户<span class="txt_right"><?php echo ($agent["user_num"]); ?>人</span><i class="right_attrs"></i></a></li>
    <li><a href="http://400tcc.cn/agent/bills" class="line"><i class="iconfont icon-pingcangdan"></i>客户平仓<span class="txt_right"><?php echo ($agent["order_num"]); ?>笔</span><i class="right_attrs"></i></a></li>
	<li><a href="http://400tcc.cn/agent/withdrawals" class="line"><i class="iconfont icon-icon"></i>申请提现<span class="txt_right"><?php echo (sprintf('%.2f',$agent['balance'])); ?>元</span><i class="right_attrs"></i></a></li>
    <li><a href="http://400tcc.cn/oauth2/wx_qrcode"><i class="iconfont icon-wodemingpianline"></i>我的名片<i class="iconfont icon-comiiserweima icon_right" style="margin-right:20px;"></i><i class="right_attrs"></i></a></li>
</ul>
</body>
</html>